package com.ruoyi.clothing.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 地址管理对象 sys_address
 * 
 * @author weh
 * @date 2024-01-18
 */
public class SysAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址id */
    private Integer id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String name;

    /** 用户联系方式 */
    @Excel(name = "用户联系方式")
    private String tel;

    /** 地区 */
    @Excel(name = "地区")
    private String address;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String dAddress;

    /** 地址所属 */
    @Excel(name = "地址所属")
    private Integer addressOwner;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setdAddress(String dAddress) 
    {
        this.dAddress = dAddress;
    }

    public String getdAddress() 
    {
        return dAddress;
    }
    public void setAddressOwner(Integer addressOwner) 
    {
        this.addressOwner = addressOwner;
    }

    public Integer getAddressOwner() 
    {
        return addressOwner;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("tel", getTel())
            .append("address", getAddress())
            .append("dAddress", getdAddress())
            .append("addressOwner", getAddressOwner())
            .toString();
    }
}
